/**
 *
 */
package org.insia.smartposse.form;

import org.apache.struts.action.ActionForm;

/**
 * @author cmougel
 *
 */
public class SearchProjectsForm extends ActionForm {

	private String _subject = "";
	private int _status = 0;
	private String _shortDescription = "";

	/**
	 * @return the shortDescription
	 */
	public String getShortDescription() {
		return _shortDescription;
	}

	/**
	 * @param shortDescription the shortDescription to set
	 */
	public void setShortDescription(String shortDescription) {
		this._shortDescription = shortDescription;
	}

	/**
	 * @return the status
	 */
	public int getStatus() {
		return _status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this._status = status;
	}

	public SearchProjectsForm(){}

	/**
	 * @return the subject
	 */
	public String getSubject() {
		if (null != _subject){
			return _subject.trim();
		} else {
			return "";
		}

	}

	/**
	 * @param subject the subject to set
	 */
	public void setSubject(String subject) {
		this._subject = subject;
	}

}
